package com.intretech.umsin.swagger;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @version V1.0
 * @ClassName: SwaggerProperties
 * @Description: SwaggerProperties 服务实现
 * @author: 李启联
 * @date: 2022-04-26 15:52
 * @Copyright: Copyright (c) 2022
 */
@ConfigurationProperties(prefix = "intretech.umsin.swagger")
public class SwaggerProperties {
    private boolean enabled = false;
    private String baseScanPackage = "com.intretech.umsin";// 扫描基础路径.
    private String apiTitle = "盈趣-攸信智慧系统";// api标题
    private String apiVersion = "V1.0.0";// 应用版本
    private String apiDescription = "盈趣-攸信智慧系统是基于现代微服务架构的应用管理系统";// 应用说明
    private String apiContactName = "小攸";// 联系人
    private String apiContactUrl = "https://www.umsin.com/";// 联系人网址
    private String apiContactEmail = "felix_li@intretech.com";// 联系人mail

    public String getBaseScanPackage() {
        return baseScanPackage;
    }

    public String getApiTitle() {
        return apiTitle;
    }

    public String getApiVersion() {
        return apiVersion;
    }

    public String getApiDescription() {
        return apiDescription;
    }

    public String getApiContactName() {
        return apiContactName;
    }

    public String getApiContactUrl() {
        return apiContactUrl;
    }

    public String getApiContactEmail() {
        return apiContactEmail;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setBaseScanPackage(String baseScanPackage) {
        this.baseScanPackage = baseScanPackage;
    }

    public void setApiTitle(String apiTitle) {
        this.apiTitle = apiTitle;
    }

    public void setApiVersion(String apiVersion) {
        this.apiVersion = apiVersion;
    }

    public void setApiDescription(String apiDescription) {
        this.apiDescription = apiDescription;
    }

    public void setApiContactName(String apiContactName) {
        this.apiContactName = apiContactName;
    }

    public void setApiContactUrl(String apiContactUrl) {
        this.apiContactUrl = apiContactUrl;
    }

    public void setApiContactEmail(String apiContactEmail) {
        this.apiContactEmail = apiContactEmail;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
